package com.example.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * </p>
 *
 * @author cyk
 * @since 2022-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Recruit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业编号
     */
    private Long comId;

    /**
     * 招聘岗位
     */
    private String post;

    /**
     * 招聘人数
     */
    private Integer number;

    /**
     * 工资
     */
    private double salary;

    /**
     * 专业要求
     */
    private String major;

    /**
     * 工作内容
     */
    private String content;

    /**
     * 发布时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private LocalDateTime reTime;

}
